home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4139 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: erich.triumf.ca!bennett
  2. From: bennett@erich.triumf.ca (P.Bennett)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: rebooting computer in C.
  5. Date: 1 Feb 1996 22:08 PST
  6. Organization: TRIUMF: Tri-University Meson Facility
  7. Distribution: world
  8. Message-ID: <1FEB199622085275@erich.triumf.ca>
  9. References: <4emjjj$713@donatello.leonardo.net>
  10. NNTP-Posting-Host: ftp.triumf.ca
  11. News-Software: VAX/VMS VNEWS 1.50    
  12.  
  13. In article <4emjjj$713@donatello.leonardo.net>, DavidJo@zianet.com (DavidJo) writes...
  14. >How would I go about making the computer reboot from inside a C
  15. >program?
  16.  
  17. How you do this (or _if_ you can) depends on your operating system, so you
  18. should ask this in a group dedicated to that operating system.  The C language
  19. itself has no support for this sort of operation.
  20.  
  21. If you are using MS-DOS, ask in comp.os.msdos.programmer, but first have a look
  22. by anonymous ftp at rtfm.mit.edu for that group's FAQ, which probably covers
  23. this topic.  (Although I don't know _why_ you would want to do this - the last
  24. thing I want _any_ program to do is to reboot the machine...)
  25.  
  26.  
  27. Peter Bennett VE7CEI                | Vessels shall be deemed to be in sight
  28. Internet: bennett@triumf.ca         | of one another only when one can be
  29. Packet: ve7cei@ve7kit.#vanc.bc.ca   | observed visually from the other
  30. TRIUMF, Vancouver, B.C., Canada     |                          ColRegs 3(k)
  31. GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
  32.  
  33.